package cn.imnaer.service.rest.recommendcircle;

import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;

@Path(value = "/")
public interface RecommendComponentRestApi {
	@GET
	@Produces("application/json;charset=UTF-8")
	@Path("index/{userId}/{page}")
	public String Index(@PathParam("userId") String userId, @PathParam("page") int page);
	@GET
	@Produces("application/json;charset=UTF-8")
	@Path("index/cityScenicList/{cityCode}/{userId}/{page}")
	public String getCityScenicListByCityCode(@PathParam("cityCode") String cityCode,
			@PathParam("userId") String userId, @PathParam("page") int page);
	@POST
	@Path("/getScenicListByRecommendId")
	@Produces("application/json;charset=UTF-8")
	@Consumes(MediaType.MULTIPART_FORM_DATA)
	public String getScenicListByRecommendId(String json);
	@GET
	@Path("/getScenicListByScenicGroupId/{scenicGroupId}/{userId}/{page}")
	@Produces("application/json;charset=UTF-8")
	@Consumes(MediaType.MULTIPART_FORM_DATA)
	public String getScenicListByScenicGroupId(@PathParam("scenicGroupId") String cityCode,
			@PathParam("userId") String userId, @PathParam("page") int page);
}
